<div class="provinder" id="city_list">
    <div class="items subcat"><a <?php if($this->province_id==2){ echo "class=\"active\"";}?> href="<?php echo site_url("Hai-Phong"); ?>">Hải Phòng</a>&nbsp;-&nbsp;</div>
    <div class="items subcat"><a <?php if($this->province_id==50){ echo "class=\"active\"";}?>  href="<?php echo site_url("Da-Nang"); ?>">Đà Nẵng</a>&nbsp;-&nbsp;</div>
    <?php if($this->province_id !=1 && $this->province_id !=2 && $this->province_id !=100 && $this->province_id !=51 && $this->province_id !=50 && $this->province_id !=56){ ?>
	 <div class="items subcat"><a class="active" href="<?php echo site_url(getLabelProvinder($this->province_id)); ?>"><?php echo getLabelProvinder($this->province_id,true) ?></a>&nbsp;-&nbsp;</div>
	<?php }else { ?>
	 <div class="items subcat"><a <?php if($this->province_id==56){ echo "class=\"active\"";}?> href="<?php echo site_url("Binh-Duong"); ?>">Bình Dương</a>&nbsp;-&nbsp;</div><?php } ?>
	 <div class="items subcat no-bg"><a href="javascript:void(0);" class="drop">Tỉnh khác</a>
		<div class="showcity" style="display:none;">
			<div class="boxOvlCity">
				<div class="contentOvlCity">
					<div class="RegionPanel">
						<div class="Region" style="background:none">Miền Bắc</div>
                        <?php
                            foreach($this->all_provinder as $val){

                                if($val['region']==1){
                                    $itemactive="";
                                    if($val['alias']=='Ha-Noi' || $val['alias']=='Hai-Phong'){
                                        $itemactive='class="itemactive"';
                                    }
                                    if($val['id']==$this->province_id){
                                        echo '<div class="item clear"><a href="'.site_url($val['alias']).'" '.$itemactive.' style="color:#D34A00;font-weight:bold">'.$val['name'].'</a></div>';
                                    }else {
                                        echo '<div class="item clear"><a href="'.site_url($val['alias']).'" '.$itemactive.'>'.$val['name'].'</a></div>';
                                    }

                                }
                            }
                        ?>

					</div>
					<div class="RegionPanel">
						<div class="Region" style="background:none">Miền Trung</div>
                        <div class="item clear"><a href="<?php echo site_url('Toan-Quoc'); ?>" class="itemactive">Toàn Quốc</a></div>
                        <?php
                        foreach($this->all_provinder as $val){

                            if($val['region']==2){
                                $itemactive="";
                                if($val['alias']=='Da-Nang'){
                                    $itemactive='class="itemactive"';
                                }
                                if($val['id']==$this->province_id){
                                    echo '<div class="item clear"><a href="'.site_url($val['alias']).'" '.$itemactive.' style="color:#D34A00;font-weight:bold">'.$val['name'].'</a></div>';
                                }else {
                                    echo '<div class="item clear"><a href="'.site_url($val['alias']).'" '.$itemactive.'>'.$val['name'].'</a></div>';
                                }
                            }
                        }
                        ?>
					</div>
					<div class="RegionPanel">
						<div class="Region closeCity">Miền Nam</div>
                        <?php
                        foreach($this->all_provinder as $val){

                            if($val['region']==3){
                                $itemactive="";
                                if($val['alias']=='TP-HCM' || $val['alias']=='Binh-Duong'){
                                    $itemactive='class="itemactive"';
                                }
                                if($val['id']==$this->province_id){
                                    echo '<div class="item clear"><a href="'.site_url($val['alias']).'" '.$itemactive.' style="color:#D34A00;font-weight:bold">'.$val['name'].'</a></div>';
                                }else {
                                    echo '<div class="item clear"><a href="'.site_url($val['alias']).'" '.$itemactive.'>'.$val['name'].'</a></div>';
                                }
                            }
                        }
                        ?>

					</div>
				</div>
			</div>
		</div>
	</div>
</div>
